﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DataFlock.CRM.Engine;
using DataFlock.CRM.Engine.SDK;

namespace DataFlock.CRM.Samples
{
    class CreateDataOnCRM
    {
        static void Main(string[] args)
        {
            CRMHelper.Initialize();

            var contact = new BusinessEntity<Contact>();
            contact.Value.FirstName = "Shaurya";
            contact.Value.LastName = "Anand";
            contact.Save();

            var account = new BusinessEntity<Account>();
            account.Value.Name = "DataFlock Consultancy Services";
            account.Save();
        }
    }
}
